package com.intelligence.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName t_device_threshold_info
 */
@TableName(value ="t_device_threshold_info")
@Data
public class DeviceThresholdInfo implements Serializable {
    /**
     * 数据超出阈值记录表
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 设备外键
     */
    @TableField(value = "deviceId")
    private Long deviceid;

    /**
     * 气象站外键
     */
    @TableField(value = "monpointId")
    private Long monpointid;

    /**
     * 本次采集的值
     */
    @TableField(value = "gatherValue")
    private Long gathervalue;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0:未读，1:已读
     */
    @TableField(value = "status")
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
